﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BulldogCMS.Data.Templates;
using BulldogCMS.Data.StorageProviders;

namespace BulldogCMS.Data
{
    public class Storage : IStorage
    {

        /*
         * /content/microsite
         * 
         * */

        private IEnumerable<IStorageProvider> _storageProviders = null;

        #region constructors
        public Storage(IEnumerable<IStorageProvider> storageProviders)
        {
            this._storageProviders = storageProviders;
        }

        public Storage(params IStorageProvider[] storageProviders)
        {
            this._storageProviders = storageProviders.ToList();
        }
        #endregion

        public INode GetNode(string nodePath)
        {
            throw new NotImplementedException();
        }

        public INode GetNode(Guid nodeID)
        {
            throw new NotImplementedException();
        }

        public IEnumerable<INode> Nodes
        {
            get { throw new NotImplementedException(); }
        }

        public INode CreateNode(string name, ITemplate template)
        {
            throw new NotImplementedException();
        }

        public IEnumerable<ITemplate> Templates
        {
            get { throw new NotImplementedException(); }
        }

        public void DeleteNode(INode node)
        {
            throw new NotImplementedException();
        }

        public void DeleteNode(Guid nodeID)
        {
            throw new NotImplementedException();
        }

        public IEnumerable<FilesTree.IFolder> Folders
        {
            get { throw new NotImplementedException(); }
        }

        public IEnumerable<FilesTree.IFile> Files
        {
            get { throw new NotImplementedException(); }
        }


        public IEnumerable<INode> GetChildNodes(Guid nodeID)
        {
            throw new NotImplementedException();
        }
    }
}
